home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / dev / moni / systemviewer.lha / SysLists.h < prev    next >
C/C++ Source or Header  |  1999-11-20  |  2KB  |  101 lines

  1. /****h *AmigaTalk/SysLists.h ******************************************
  2. **
  3. ** NAME
  4. **    SysLists.h
  5. **
  6. ***********************************************************************
  7. */
  8.  
  9. #ifndef  SYSLISTS_H
  10. # define SYSLISTS_H 1
  11.  
  12. # ifdef ALLOCATE_VARS
  13.  
  14. struct IntuitionBase *IntuitionBase;
  15. struct GfxBase       *GfxBase;
  16. struct Library       *GadToolsBase;
  17.  
  18. PUBLIC UBYTE  ScrTitle[] = "System Info";
  19.  
  20. PUBLIC UBYTE  emg[256], *ErrMsg = &emg[0];
  21.  
  22. PUBLIC struct Screen       *Scr           = NULL;
  23. PUBLIC UBYTE               *PubScreenName = "Workbench";
  24. PUBLIC APTR                 VisualInfo    = NULL;
  25. PUBLIC struct Window       *Wnd           = NULL;
  26. PUBLIC struct Gadget       *GList         = NULL;
  27. PUBLIC struct IntuiMessage  IMsg;
  28.  
  29. PUBLIC UWORD WLeft   = 0;
  30. PUBLIC UWORD WTop    = 16;
  31. PUBLIC UWORD WWidth  = 632;
  32. PUBLIC UWORD WHeight = 250;
  33.  
  34. PUBLIC struct TextAttr *Font, Attr;
  35. PUBLIC struct TextFont *TFont = NULL;
  36.  
  37. PUBLIC struct CompFont  CFont;
  38.  
  39. # else
  40.  
  41. IMPORT struct IntuitionBase *IntuitionBase;
  42. IMPORT struct GfxBase       *GfxBase;
  43. IMPORT struct Library       *GadToolsBase;
  44.  
  45. IMPORT UBYTE  ScrTitle[];
  46. IMPORT UBYTE  *ErrMsg;
  47.  
  48. IMPORT struct Screen       *Scr;
  49. IMPORT UBYTE               *PubScreenName;
  50. IMPORT APTR                 VisualInfo;
  51. IMPORT struct Window       *Wnd;
  52. IMPORT struct Gadget       *GList;
  53. IMPORT struct IntuiMessage  IMsg;
  54.  
  55. IMPORT UWORD WLeft;
  56. IMPORT UWORD WTop;
  57. IMPORT UWORD WWidth;
  58. IMPORT UWORD WHeight;
  59.  
  60. IMPORT struct TextAttr *Font;
  61. IMPORT struct TextFont *TFont;
  62.  
  63. IMPORT struct CompFont  CFont;
  64.  
  65. # endif
  66.  
  67. // For SysScreens.c file:
  68.  
  69. #define ScrLV        0
  70. #define ScrUpdate    1
  71. #define ScrMore      2
  72. #define ScrClose     3
  73. #define ScrCancel    4
  74. #define ScrSelection 5
  75.  
  76. #define SCR_CNT      6
  77.  
  78. // For SysTasks.c file:
  79.  
  80. #define TaskLV     0
  81. #define TUpdate    1
  82. #define TMore      2
  83. #define TCancel    3
  84. #define TFreeze    4
  85. #define TRemove    5
  86. #define TSignal    6
  87. #define TBreak     7
  88. #define TPriority  8
  89. #define TSelection 9
  90.  
  91. #define T_CNT     10
  92.  
  93. // -------- Function protos for SysCommon.c file: --------------------
  94.  
  95. PUBLIC int  SetupSystemList( int (*OpenWindowFunc)( void ) );
  96. PUBLIC void ShutdownSystemList();
  97.  
  98. #endif
  99.  
  100. /* ----------------------- END of SysLists.h file! ------------------- */
  101.